package lab02.test20;

import java.util.Scanner;

/**
 * Created by w on 2017/10/26.
 */
public class Text {
    public static void main(String[] args) {
        String result;
        //输入
        Scanner scanner=new Scanner(System.in);
        result=scanner.next();
        //程序仅仅输出字符串中的全部数字字符。
        char tmp;
        int i;
        for(i=0;i<result.length();i++){
            tmp=result.charAt(i);
            if(tmp>='0'&&tmp<='9'){
                System.out.print(tmp);
            }
        }

    }
}
